package com.ruoyi.project.seeDoctor.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;
import java.util.Objects;

public class MedCase extends BaseEntity {
    private String case_id;
    private String reg_id;
    private Date case_date;
    private String pati_code;
    private String case_type;
    private String case_contagion;
    private String  case_complaint;
    private String case_daig_info;
    private String case_advise;
    private String case_remarks;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        MedCase medCase = (MedCase) o;
        return Objects.equals(case_id, medCase.case_id) &&
                Objects.equals(reg_id, medCase.reg_id) &&
                Objects.equals(case_date, medCase.case_date) &&
                Objects.equals(pati_code, medCase.pati_code) &&
                Objects.equals(case_type, medCase.case_type) &&
                Objects.equals(case_contagion, medCase.case_contagion) &&
                Objects.equals(case_complaint, medCase.case_complaint) &&
                Objects.equals(case_daig_info, medCase.case_daig_info) &&
                Objects.equals(case_advise, medCase.case_advise) &&
                Objects.equals(case_remarks, medCase.case_remarks);
    }

    @Override
    public int hashCode() {
        return Objects.hash(case_id, reg_id, case_date, pati_code, case_type, case_contagion, case_complaint, case_daig_info, case_advise, case_remarks);
    }

    public String getCase_id() {
        return case_id;
    }

    public void setCase_id(String case_id) {
        this.case_id = case_id;
    }

    public String getReg_id() {
        return reg_id;
    }

    public void setReg_id(String reg_id) {
        this.reg_id = reg_id;
    }

    public Date getCase_date() {
        return case_date;
    }

    public void setCase_date(Date case_date) {
        this.case_date = case_date;
    }

    public String getPati_code() {
        return pati_code;
    }

    public void setPati_code(String pati_code) {
        this.pati_code = pati_code;
    }

    public String getCase_type() {
        return case_type;
    }

    public void setCase_type(String case_type) {
        this.case_type = case_type;
    }

    public String getCase_contagion() {
        return case_contagion;
    }

    public void setCase_contagion(String case_contagion) {
        this.case_contagion = case_contagion;
    }

    public String getCase_complaint() {
        return case_complaint;
    }

    public void setCase_complaint(String case_complaint) {
        this.case_complaint = case_complaint;
    }

    public String getCase_daig_info() {
        return case_daig_info;
    }

    public void setCase_daig_info(String case_daig_info) {
        this.case_daig_info = case_daig_info;
    }

    public String getCase_advise() {
        return case_advise;
    }

    public void setCase_advise(String case_advise) {
        this.case_advise = case_advise;
    }

    public String getCase_remarks() {
        return case_remarks;
    }

    public void setCase_remarks(String case_remarks) {
        this.case_remarks = case_remarks;
    }

    public MedCase() {
    }

    public MedCase(String case_id, String reg_id, Date case_date, String pati_code, String case_type, String case_contagion, String case_complaint, String case_daig_info, String case_advise, String case_remarks) {
        this.case_id = case_id;
        this.reg_id = reg_id;
        this.case_date = case_date;
        this.pati_code = pati_code;
        this.case_type = case_type;
        this.case_contagion = case_contagion;
        this.case_complaint = case_complaint;
        this.case_daig_info = case_daig_info;
        this.case_advise = case_advise;
        this.case_remarks = case_remarks;
    }
}
